<template>
  <div class="about">
    
    <h3>登录<router-link to="/about">关于我们</router-link></h3>
	<img src="common/image/logo.png" alt="" />
	{{hello}}<button v-on:click="login">登录</button>
  </div>
</template>

<script>
export default {
  name: 'login',
  computed: {
    hello: function() {
      return this.$store.state.hello
    }
  },
  methods:{
  	login:function(){
		isLogin=true;
    //跳转
		this.$router.push({ path: 'index' })
	}
  }
}
</script>
